package com.xbongbong.pro.statistic.pojo.dto;

import com.xbongbong.paas.bi.pojo.DataSetNodeFieldPojo;
import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import com.xbongbong.pro.statistic.pojo.DataSetAttrReflectJoinPojo;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.Valid;
import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * @author zcp
 * @version v1.0
 * @since v1.0
 */
@Getter
@Setter
@ToString
public class DataSetAttrReflectUnionDTO extends BaseDTO {
    private static final long serialVersionUID = 1713179600119901980L;
    /**
     * 节点（合并节点、连接节点）内的field
     */
    @NotEmpty(message = "{dto.msg.dataSetAttrReflectUnion.field.NotEmpty}")
    @Valid
    private List<DataSetNodeFieldPojo> field;
    /**
     * 隐藏字段
     */
   /* @NotNull(message = "{dto.msg.dataSetAttrReflectJoin.right.NotNull}")
    @Valid*/
    private List<DataSetNodeFieldPojo> hide;
}
